#!/usr/bin/env python
# coding: utf-8


from os.path import expanduser


configs = {
    'mysql_local': {
            'host': '127.0.0.1',
            'port': 3306,
            'user': 'root',
            'password': 'root',
            'database': 'edb_spiders'
    },
    'mysql': {
            'host': '118.31.118.16',
            'port': 3306,
            'user': 'edb_team',
            'password': 'QINkGJ3q2G8HzkiZ',
            'database': 'data_center'
    },
    'mysql_funds': {
                'host': '120.26.12.152',
                'port': 3306,
                'user': 'dzh_select',
                'password': '27*Zl8R!9t~L<y/6',
                'database': 'dzh'
    },
    'file': {
            'csc': expanduser('~/niub/etl_funds_service'),
    },
    'pid': {
        'service': expanduser('~/pid/etl_funds_service.pid'),
    },
    'mode': 'increase'  # 运行模式 full:全量计算, increase:增量计算
}
